import request from '@/utils/request.js'

export const getHotSearch = () => {
  return request({
    url: '/search/hot'
  })
}

/**
 *
 * @param {*} parmas { limit, offset, keywords }
 * @returns promise
 */
export const getSearchRes = params => {
  return request({
    url: '/cloudsearch',
    params
  })
}
